import request from '@/utils/request'

// 查询基金分配来源列表
export function listFundFpSpvSource(query) {
  return request({
    url: '/fpSpv/fundFpSource/list',
    method: 'get',
    params: query
  })
}

// 查询基金分配主表详细
export function getFundFpSpvSource(id) {
  return request({
    url: '/fpSpv/fundFpSource/' + id,
    method: 'get'
  })
}

// 保存基金分配主表
export function saveFundFpSpvSource(data) {
  return request({
    url: '/fpSpv/fundFpSource/save',
    method: 'post',
    data: data
  })
}

// 删除基金分配主表
export function delFundFpSpvSource(id) {
  return request({
    url: '/fpSpv/fundFpSource/' + id,
    method: 'delete'
  })
}
